package gdut.jmxywz.been;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TeachingFiles entity. @author MyEclipse Persistence Tools
 */

public class TeachingFiles implements java.io.Serializable {

	// Fields

	private Integer teachSrcId;
	private Teacher teacher;
	private String teachSrcfileName;
	private String teachSrcFileUrl;
	private String teachSrcFileContext;
	private Integer downloadtime;
	private Integer uploadFrom;
	private Date uploadTime;
	private Integer auditing;
	private Set classDowns = new HashSet(0);

	// Constructors

	/** default constructor */
	public TeachingFiles() {
	}

	/** minimal constructor */
	public TeachingFiles(Teacher teacher, String teachSrcfileName,
			String teachSrcFileUrl) {
		this.teacher = teacher;
		this.teachSrcfileName = teachSrcfileName;
		this.teachSrcFileUrl = teachSrcFileUrl;
	}

	/** full constructor */
	public TeachingFiles(Teacher teacher, String teachSrcfileName,
			String teachSrcFileUrl, String teachSrcFileContext,
			Integer downloadtime, Integer uploadFrom, Date uploadTime,Integer auditing,
			Set classDowns) {
		this.teacher = teacher;
		this.teachSrcfileName = teachSrcfileName;
		this.teachSrcFileUrl = teachSrcFileUrl;
		this.teachSrcFileContext = teachSrcFileContext;
		this.downloadtime = downloadtime;
		this.uploadFrom = uploadFrom;
		this.uploadTime = uploadTime;
		this.auditing=auditing;
		this.classDowns = classDowns;
	}

	// Property accessors

	public Integer getTeachSrcId() {
		return this.teachSrcId;
	}

	public void setTeachSrcId(Integer teachSrcId) {
		this.teachSrcId = teachSrcId;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public String getTeachSrcfileName() {
		return this.teachSrcfileName;
	}

	public void setTeachSrcfileName(String teachSrcfileName) {
		this.teachSrcfileName = teachSrcfileName;
	}

	public String getTeachSrcFileUrl() {
		return this.teachSrcFileUrl;
	}

	public void setTeachSrcFileUrl(String teachSrcFileUrl) {
		this.teachSrcFileUrl = teachSrcFileUrl;
	}

	public String getTeachSrcFileContext() {
		return this.teachSrcFileContext;
	}

	public void setTeachSrcFileContext(String teachSrcFileContext) {
		this.teachSrcFileContext = teachSrcFileContext;
	}

	public Integer getDownloadtime() {
		return this.downloadtime;
	}

	public void setDownloadtime(Integer downloadtime) {
		this.downloadtime = downloadtime;
	}

	public Integer getUploadFrom() {
		return this.uploadFrom;
	}

	public void setUploadFrom(Integer uploadFrom) {
		this.uploadFrom = uploadFrom;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	

	public Integer getAuditing() {
		return auditing;
	}

	public void setAuditing(Integer auditing) {
		this.auditing = auditing;
	}

	public Set getClassDowns() {
		return this.classDowns;
	}

	public void setClassDowns(Set classDowns) {
		this.classDowns = classDowns;
	}

}